package JUnitTest;

import static org.junit.Assert.*;

import org.junit.Test;

import Model.Wall.Post;
import DBAccess.DBAccess;
public class PostTest {
	DBAccess access = new DBAccess();
	
	@Test
	public void test_PostTest() {
		assertTrue(Post.getFromIDUsingPostID(177)>0);
	}
	
	@Test
	public void test_Post() {
		Post post = new Post(1, 1, 1, "message");
		assertNotNull(post.getMessage());
	}
	
	@Test
	public void getMessageFromPostID(){
		assertNotNull(Post.getMessageFromPostID(1));
	}
	
}
